package cn.wolfcode.edu.service.impl;

import cn.wolfcode.edu.domain.FormalStudent;
import cn.wolfcode.edu.mapper.FormalStudentMapper;
import cn.wolfcode.edu.query.StudentChartQuery;
import cn.wolfcode.edu.service.IStudentChartService;
import cn.wolfcode.edu.util.PageResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by 徐沅澧 on 2018/7/11.
 */
@Service
public class StudentChartServiceImpl implements IStudentChartService {

    @Autowired
    private FormalStudentMapper studentMapper;

    @Override
    public List<Map<String,Object>> list(StudentChartQuery qo) {
        return studentMapper.listForClient(qo);
    }
}